package com.fr.data.core.db.dml;

import com.fr.data.core.db.dialect.Dialect;

public abstract class AbstractDML
  implements DML
{
  private Table table;
  protected Dialect dialect;
  private boolean isEmptyWhereAllowed = false;

  protected AbstractDML(Table paramTable, Dialect paramDialect)
  {
    setTable(paramTable);
    this.dialect = paramDialect;
  }

  public void setEmptyWhereAllowed(boolean paramBoolean)
  {
    this.isEmptyWhereAllowed = paramBoolean;
  }

  public boolean isEmptyWhereAllowed()
  {
    return this.isEmptyWhereAllowed;
  }

  public void setTable(Table paramTable)
  {
    this.table = paramTable;
  }

  public Table getTable()
  {
    return this.table;
  }
}